#ifndef __ADC_DEV__
#define __ADC_DEV__

#include <stm32f10x.h>  
#include"rtthread.h"
#include "rtdevice.h"

#define DEVICE_NAME_VBAT  "vbat"
#define VBAT_FULL_ENERGE (2540) //满电ADC值
#define VBAT_LOW_ENERGE  (2100) //最低电压限值ADC值

#endif



